Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MM-62241] Fix screen sharing from Calls popout window #3258

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

streamer45
Copy link
Contributor

Summary

As of #3174, some of the functionality in the Calls popout window (e.g. screen sharing) stopped working since desktopAPI is missing on the window object. Using the local preload seems to be the way to go.

Since we are here, I am also adding an extra dynamic menu item to access the developer tools of the popout, which can be helpful in debugging future issues like this one.

/cc @matthewbirtch

Ticket Link

https://mattermost.atlassian.net/browse/MM-62241

Release Note

NONE

@streamer45 streamer45 added 2: Dev Review Requires review by a core committer 3: QA Review Requires review by a QA tester labels Dec 16, 2024
@streamer45 streamer45 self-assigned this Dec 16, 2024
@amyblais amyblais added this to the v5.11.0 milestone Dec 16, 2024
@@ -362,6 +362,12 @@ describe('main/windows/callsWidgetWindow', () => {
urlUtils.isCallsPopOutURL.mockReturnValue(false);
expect(callsWidgetWindow.onPopOutOpen({url: 'http://localhost:8065/notpopouturl'})).toHaveProperty('action', 'deny');
});

it('should pop out and make sure preload is set', () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@streamer45 streamer45 removed the 2: Dev Review Requires review by a core committer label Dec 17, 2024
@streamer45
Copy link
Contributor Author

@DHaussermann You should be familiar with this since you hit it before while testing unrelated changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3: QA Review Requires review by a QA tester release-note-none
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants